package com.dcjk;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 启动程序
 *
 * @author dcjk
 */
@SpringBootApplication(exclude = {
        org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class
})
// 指定要扫描的Mapper类的包的路径（"com.xxx.**.mapper"）
@MapperScan(value = {"com.dcjk.**.mapper"})
public class DcjkApplication {
    public static void main(String[] args) {
        System.setProperty("druid.mysql.usePingMethod","false");
        SpringApplication.run(DcjkApplication.class, args);
        System.out.println("Dcjk启动成功\n" +
                ".------------------------------------.         \n" +
                "|  .----.    .---.  .----.  .-. .-.  |         \n" +
                "|  | .-. \\  / .--'  '--. |  | |/ /   |        \n" +
                "|  | |  ) )( (       _ | |  |   (    |         \n" +
                "|  | '-' /  \\ `--.  \\ `' |  | |\\ \\   |     \n" +
                "|  '----'    `---'   `---'  '-' `-`  |         \n" +
                "'------------------------------------'         \n" );
    }
}